<%@taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<div class="jumbotron">
	<div role="alert" class="alert alert-success">
		Caricamento eseguito con successo.
		Scegli i Contenuti Extra
	</div>
	<div class="container">
		<div class="col-md-6">
			<table class="table table-hover">
				<thead>
					<h3>Capitoli Inseriti</h3>
					<tr>
						<td><b>Nome File</b></td>
						<td><b>Nome Capitolo</b></td>
						<td><b>Ordine</b></td>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${ordinamentoXHTML.filesXHTML}" var="xhtmlFile"
						varStatus="status">
						<tr>
							<td>
								<p id="${xhtmlFile.originalFileName}">${xhtmlFile.originalFileName}</p>
							</td>
							<td>
								<p id="${xhtmlFile.indentazione}">${xhtmlFile.indentazione}</p>
							</td>
							<td>
								<p id="${xhtmlFile.ordine}">${xhtmlFile.ordine}</p>
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
		<div class="col-md-6">
			<table class="table table-hover">
				<thead>
					<h3>Immagini Inserite</h3>
					<tr>
						<td><b>Nome File</b></td>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${filenameIMG}" var="xhtmlFile"
						varStatus="status">
						<tr>
							<td>
								<p id="${xhtmlFile}">${xhtmlFile}</p>
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
		<div class="col-md-6">
			<table class="table table-hover">
				<thead>
					<h3>File Css Inseriti</h3>
					<tr>
						<td><b>Nome File</b></td>
					</tr>
				</thead>
				<tbody>
					<c:forEach items="${filenameCSS}" var="xhtmlFile"
						varStatus="status">
						<tr>
							<td>
								<p id="${xhtmlFile}">${xhtmlFile}</p>
							</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
			<a href="${pageContext.request.contextPath}/epub/insertGuide.do"
				class="btn btn-primary btn-lg active">Inserisci Contenuti Extra</a>
		</div>
	</div>

</div>

